package org.msfj.admin.feign;

import org.msfj.authority.client.configuration.ClientAutoConfiguration;
import org.msfj.common.model.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-21 8:11
 */
@FeignClient(value = "admin-service",configuration = {ClientAutoConfiguration.class})
public interface MenuApi {
  @GetMapping("/api/menu/getAllPermission")
  CommonResult<List<String>> getAllPermission();
}
